<?php

//路径设置
define('_ROOT_',str_replace('\\','/',realpath('../system/')).'/');
define('_APP_',str_replace('\\','/',dirname(__FILE__)).'/');

//初始化核心组件
require_once _ROOT_.'green.php';

//路由解析URL
$route = new route();
$route->parse();
$route->run();